Re-exports

pub use submodules::guard;
pub use submodules::guard;
pub use submodules::*;

Modules

Structs

Optimizable Statements

Query Tree

Raw Grammar Output Statements

Supporting data structures for Parse Trees

Enums

Constants

this comes from postgres_ext.h

Statics

System interrupt and critical section handling

globals.h – *

Traits

A trait for converting a thing into a char * that is allocated by Postgres’ palloc

A trait applied to all of Postgres’ pg_sys::Node types and its subtypes

Functions

#define BufferGetBlock(buffer)
(
AssertMacro(BufferIsValid(buffer)),
BufferIsLocal(buffer) ?
LocalBufferBlockPointers[-(buffer) - 1]
:
(Block) (BufferBlocks + ((Size) ((buffer) - 1)) * BLCKSZ)
)

#define BufferGetPage(buffer) ((Page)BufferGetBlock(buffer))

#define BufferIsLocal(buffer) ((buffer) < 0)

#define HeapTupleHeaderIsHeapOnly(tup)
(
((tup)->t_infomask2 & HEAP_ONLY_TUPLE) != 0
)

#define HeapTupleHeaderIsHotUpdated(tup)
(
((tup)->t_infomask2 & HEAP_HOT_UPDATED) != 0 &&
((tup)->t_infomask & HEAP_XMAX_INVALID) == 0 &&
!HeapTupleHeaderXminInvalid(tup)
)

#define HeapTupleHeaderXminInvalid(tup)
(
((tup)->t_infomask & (HEAP_XMIN_COMMITTED|HEAP_XMIN_INVALID)) ==
HEAP_XMIN_INVALID
)

Type Definitions

Other Statements (no optimizations required)

pmod.h – * POSTGRES processing mode definitions. *

Unions